package com.cloud.mqtt.util;

import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Random;

public class CommonVariable {

    public static Random random = new Random();

    public static DecimalFormat decimalFormat = new DecimalFormat("#.##");

    public static SimpleDateFormat simpleDateFormat = dateFormat();

    public static SimpleDateFormat dateFormat() {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
        return  simpleDateFormat;
    }


}
